import { StoreOptions } from 'vuex'

const user: StoreOptions<any> = {
    state: {
        userInfo:{}
    },
    getters:{
        getUserInfo(state){
            return state.userInfo
        }
    },
    mutations:{
        setUserInfo(state,userInfo){
            state.userInfo = userInfo
        }

    },
    actions:{
        
    }
}

export default user